package com.tianruan.dc.modules.sys.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tianruan.dc.modules.sys.user.entity.WorkInfo;

/**
 * Author: Vivienne
 */
public interface WorkInfoService extends IService<WorkInfo> {

    void insertContent(String username, String content, String userId);

//    int update(String content, String username, String userId);

    int updateWorkInfo(WorkInfo workInfo);

    WorkInfo getWorkInfo(String username, String workId);

    void updateScore(String id, String score,String content);

    String getTitle(String id);
}
